<template>
  <div class="q-pa-md q-gutter-md">
    <t-input-number
      v-model.number="num"
      label="数值组件"
      labelPosition="top"
      :min="0"
      :max="10"
      :step="0.1"
      :accuracy="1"
      :clearable="true"
    ></t-input-number>
  </div>
</template>

<script setup>
import { ref } from 'vue';
const num = ref(0);
</script>
